package com.zq.it.pojo.exam;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import com.zq.it.pojo.Teacher;

public class TTask implements java.io.Serializable {

	// Fields

	private long id;
	private Teacher teacher;
	private TTaskmodel TTaskmodel;
	private String taskName;
	private Integer caseType;
	private Timestamp createTime;
	private long taskUserCount;
	private Timestamp timeLimit;
	private String taskMessage;
	private String extendField;
	private Set TStudentTasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public TTask() {
	}

	public TTask(long id, Teacher Teacher, TTaskmodel tTaskmodel,
			String taskName, Integer caseType, Timestamp createTime,
			long taskUserCount, Timestamp timeLimit, String taskMessage,
			String extendField, Set tStudentTasks) {
		super();
		this.id = id;
		teacher = Teacher;
		TTaskmodel = tTaskmodel;
		this.taskName = taskName;
		this.caseType = caseType;
		this.createTime = createTime;
		this.taskUserCount = taskUserCount;
		this.timeLimit = timeLimit;
		this.taskMessage = taskMessage;
		this.extendField = extendField;
		TStudentTasks = tStudentTasks;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public TTaskmodel getTTaskmodel() {
		return TTaskmodel;
	}

	public void setTTaskmodel(TTaskmodel tTaskmodel) {
		TTaskmodel = tTaskmodel;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Integer getCaseType() {
		return caseType;
	}

	public void setCaseType(Integer caseType) {
		this.caseType = caseType;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public long getTaskUserCount() {
		return taskUserCount;
	}

	public void setTaskUserCount(long taskUserCount) {
		this.taskUserCount = taskUserCount;
	}

	public Timestamp getTimeLimit() {
		return timeLimit;
	}

	public void setTimeLimit(Timestamp timeLimit) {
		this.timeLimit = timeLimit;
	}

	public String getTaskMessage() {
		return taskMessage;
	}

	public void setTaskMessage(String taskMessage) {
		this.taskMessage = taskMessage;
	}

	public String getExtendField() {
		return extendField;
	}

	public void setExtendField(String extendField) {
		this.extendField = extendField;
	}

	public Set getTStudentTasks() {
		return TStudentTasks;
	}

	public void setTStudentTasks(Set tStudentTasks) {
		TStudentTasks = tStudentTasks;
	}

}